﻿//using System;
//using System.ServiceModel;

//using Lari.Framework.Exceptions.DataContract;


//namespace Lari.Services.Utility
//{

//    public interface IExceptionToFaultConverter
//    {
//        FaultException<LariFault> ToFaultException(int id, Exception ex, bool exposeInnerException);
//    }

//    public class ServiceFaultProvider : IExceptionToFaultConverter
//    {

//        public FaultException<LariFault> ToFaultException(int id, Exception ex, bool exposeInnerException)
//        {
//            return LariFaultProvider.ToFaultException(id, ex, exposeInnerException);
//        }

//    }

//}
